@Repository
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th=
        "http://www.thymeleaf.org" lang="en">
<head th:replace="fragments/header :: head">
</head>
<body>
<div class="container">
  <h3 class="text-center">您的历史订单信息汇总</h3>
  <div class="row">
    <div class="col-12">
      <table class="table table-bordered ">
        <tbody th:each="order : ${orders}">
        <tr class="active">
          <td class="col-xs-3 ">[[${'订单号码 ： ' + order.
            orderId}]]</td>
          <td class="col-xs-6 ">[[${'订单日期 ：' + order.
            orderDate}]]</td>
          <td class="col-xs-9 ">[[${'订单总价： '+ order.
            orderPrice}]]</td>
        </tr>
        <tr th:each="orderBook : ${order.books}">
          <td class="col-xs-3"><a th:href="@{'/books/{bookId}'
(bookId= ${orderBook.book.bookId})}">[[${'***** 图书名
            称：' + orderBook.book.bookName}]]</a></td>
          <td class="col-xs-6">[[${' 购买数量：' + orderBook.
            quantity}]]</td>
          <td class="col-xs-9">[[${'图书单价 ： ' + orderBook.
            book.bookPrice}]]</td>
        </tr>
        </tbody>
      </table>
    </div>
  </div>
  <div class = "col-12 text-right">
    <button class="btn btn-info" onclick="history. back()">
      <span class="fa fa-arrow-left"></span>&nbsp;<span>
返回</span>
    </button>
  </div>
</div>
</body>
</html>